//
//  PickNumSportListViewController.h
//  PlayBall
//
//  Created by Huawen Liu on 12-6-28.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "JddBaseViewController.h"
#import "JddRandomSelectNumView.h"
#import "JddSportListItemCell.h"
#import "JddQueryDiscountOperation.h"
#import "JddBuyLotteryOperation.h"
#import "JddQueryUserInfoOperation.h"
#import "JddSportNumber.h"
#import "JddComboBoxView.h"
#import "JddAlertView.h"
#import "JddSportListItemZJQCell.h"
#import "JddSportListItemHHCell.h"
#import "JddAgreeLotteryForFooterView.h"

@interface JddPickNumSportListViewController : JddBaseViewController<UITableViewDelegate, UITableViewDataSource, UITextFieldDelegate, RandomSelectNumViewDelegate, SportListItemCellDelegate ,UIGestureRecognizerDelegate,UIAlertViewDelegate, ComboBoxViewDelegate,JddAlertViewDelegate, QueryDiscountOperationDelegate, BuyLotteryOperationDelegate,QueryUserInfoOperationDelegate, SportListItemZJQCellDelegate, SportListItemHHCellDelegate>{
@private
    JddAgreeLotteryForFooterView *agreeLotteryForFooterView;
    NSMutableArray *content;
    float     count;    
    NSMutableString *discountNo;
    NSNumber        *discountAmount;
    JddAlertView    *alert1;
    NSMutableArray *numberArrayTemp;
    NSMutableArray  *playMethodTemp;
    JddComboBoxView    *comboBoxView;
    //过关方式中是否含有单关
    bool isContainSingle;
}

SHARED_VIEW_CONTROLLER_DECLARE(JddPickNumSportListViewController);

@property (strong, nonatomic) IBOutlet UITableView *numberListTable;
@property (strong, nonatomic) IBOutlet UITextField *multipleTextField;
@property (strong, nonatomic) IBOutlet UILabel     *noteAmountLabel;
@property (strong, nonatomic) IBOutlet UIButton *buybutton;
@property (strong, nonatomic) IBOutlet UIScrollView*bgScrollView;
@property (strong, nonatomic) IBOutlet UILabel     *multipleLabel;
@property (strong, nonatomic) IBOutlet UILabel     *moneyAmountLabel;
@property (strong, nonatomic) IBOutlet UILabel     *playMethodLabel;
@property (strong, nonatomic) IBOutlet UILabel     *endTimeLabel;
@property (strong, nonatomic) IBOutlet UILabel     *amountLabel;
@property NSString *issue;
@property NSMutableArray *numberArray;
@property NSMutableArray *playMethodTemp;
@property NSDate  *endTime;
@property (strong, nonatomic) NSArray *paramsArr;
@property (assign, nonatomic) int playId;

//- (void)numberFromArray:(NSArray*)inNumberArray;

//-(IBAction)checkValue:(id)sender;
- (IBAction)continueSelectNumberButtonClicked:(id)sender;
- (IBAction)selectPlayMethodButtonClicked:(id)sender;
- (IBAction)clearListButtonClicked:(id)sender;
- (IBAction)plusButtonClicked:(id)sender;
- (IBAction)minusButtonClicked:(id)sender;
- (IBAction)buyButtonClicked:(id)sender;
-(void)destoryView;
- (IBAction)textFiledDidEnd:(id)sender;

- (IBAction)coBuyBtnClick:(id)sender;

@end
